TARGET = sprite
OBJS = sprite.o pmp_gu.o texture_subdivision.o pmp_interface.o

PSPSDK=$(shell psp-config --pspsdk-path)
PSPLIBSDIR=$(PSPSDK)/..


INCDIR = ../ 
CFLAGS = -G0 -Wall -O2 -DHAVE_AV_CONFIG_H
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

BUILD_PRX = 1
PSP_FW_VERSION=371

USE_PSPSDK_LIBC =
LIBDIR = .	$(PSPLIBSDIR)/lib ../libavformat ../libavfilter ../libavcodec ../libavutil ../libswscale
LDFLAGS =
#LIBS= -lpspgum -lpspgu -lm -lavcodec -lavfilter -lavformat -lavutil -lswscale -lpostproc --ljpeg -lfreetype -logg -lz -lpsppower -lpspaudiolib -lpspaudio
LIBS = -ljpeg -lfreetype  -lavformat -lavcodec -lavutil -lswscale -logg -lz -lm -lpspgum -lpspgu -lpsppower -lpspaudiolib -lpspaudio -lpsprtc

#avformat avcodec avutil

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Onyx player


include $(PSPSDK)/lib/build.mak

